<?php
namespace  app\common\model;

use think\Model;

class Enroll extends Model{

    public function exhibition(){

        return $this->hasOne('Exhibition','id','exhibition_id')->field('id,title');

    }
}